/**
 * readdir 创建目录
 */
const fs = require("fs");
const path = require("path");
const filedir = path.resolve(__dirname, "./目录");

async function readdir(dirPath) {
    const result = await fs.promises.mkdir(dirPath)
    console.log('result', result)
}
readdir(filedir)